/*
 * %W% %E%
 *
 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package sun.awt;

import com.smartmail.awt.*;

public class HeadlessToolkit extends Toolkit {

    private Toolkit tk;

    public HeadlessToolkit(Toolkit tk) {
        
    	this.tk = tk;
        
    }

    public Toolkit getUnderlyingToolkit() {
        return tk;
    }

    public Image createImage(byte[] data, int offset, int length) {
        return tk.createImage(data, offset, length);
    }

}
